<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>求职列表 - 人才推荐</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome 图标 -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
    
    <style>
        :root {
            --primary: #3b82f6;
            --primary-light: #60a5fa;
            --primary-dark: #2563eb;
            --secondary: #f97316;
            --success: #10b981;
            --warning: #f59e0b;
            --danger: #ef4444;
            --text-primary: #1e293b;
            --text-secondary: #64748b;
            --text-tertiary: #94a3b8;
            --bg-light: #f8fafc;
            --bg-white: #ffffff;
            --bg-gray: #f1f5f9;
            --bg-gray-dark: #e2e8f0;
            --border-light: #e2e8f0;
            --border-medium: #cbd5e1;
            --radius: 12px;
            --radius-sm: 8px;
            --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-strong: 0 4px 16px rgba(0, 0, 0, 0.12);
        }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            background-color: var(--bg-light);
            color: var(--text-primary);
            padding-top: 56px;
            padding-bottom: 60px;
            line-height: 1.6;
        }
        
        /* 顶部导航 */
        .top-nav {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 56px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 16px;
            z-index: 1000;
            border-bottom: 1px solid var(--border-light);
        }
        
        .nav-title {
            font-size: 1.1rem;
            font-weight: 600;
            text-align: center;
            flex: 1;
        }
        
        .nav-action {
            color: var(--text-secondary);
            background: none;
            border: none;
            font-size: 1.2rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .nav-action:hover {
            background-color: var(--bg-light);
        }
        
        .nav-action.primary {
            color: var(--primary);
        }
        
        /* 搜索和筛选区 */
        .search-filter-bar {
            padding: 12px 16px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            display: flex;
            gap: 12px;
        }
        
        .search-box {
            flex: 1;
            position: relative;
            background-color: var(--bg-gray);
            border-radius: 24px;
            padding: 8px 16px;
            display: flex;
            align-items: center;
        }
        
        .search-icon {
            color: var(--text-tertiary);
            font-size: 0.95rem;
            margin-right: 8px;
        }
        
        .search-input {
            flex: 1;
            background: none;
            border: none;
            outline: none;
            font-size: 0.9rem;
            color: var(--text-primary);
        }
        
        .search-input::placeholder {
            color: var(--text-tertiary);
        }
        
        .filter-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--bg-gray);
            border: none;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* 快捷筛选标签 */
        .quick-filters {
            display: flex;
            padding: 8px 16px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            overflow-x: auto;
            scrollbar-width: none;
            gap: 8px;
        }
        
        .quick-filters::-webkit-scrollbar {
            display: none;
        }
        
        .filter-chip {
            white-space: nowrap;
            padding: 6px 12px;
            border-radius: 16px;
            font-size: 0.85rem;
            background-color: var(--bg-gray);
            color: var(--text-secondary);
            border: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .filter-chip.active {
            background-color: var(--primary);
            color: white;
        }
        
        .filter-chip .icon {
            font-size: 0.9rem;
        }
        
        /* 求职列表容器 */
        .resumes-container {
            padding: 12px 16px;
        }
        
        /* 求职卡片基础样式 */
        .resume-card {
            background-color: var(--bg-white);
            border-radius: var(--radius);
            overflow: hidden;
            margin-bottom: 16px;
            box-shadow: var(--shadow);
            text-decoration: none;
            color: var(--text-primary);
            transition: transform 0.2s ease;
        }
        
        .resume-card:hover {
            transform: translateY(-2px);
        }
        
        .resume-header {
            padding: 16px;
            display: flex;
            gap: 12px;
        }
        
        .user-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            flex-shrink: 0;
            overflow: hidden;
            border: 2px solid var(--bg-gray);
        }
        
        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .user-basic-info {
            flex: 1;
        }
        
        .user-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 4px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .user-title {
            color: var(--text-secondary);
            font-size: 0.9rem;
            margin-bottom: 6px;
        }
        
        .user-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
        }
        
        .user-tag {
            background-color: var(--bg-gray);
            color: var(--text-secondary);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.75rem;
        }
        
        .user-tag.hot {
            background-color: rgba(239, 68, 68, 0.1);
            color: var(--danger);
        }
        
        .user-tag.available {
            background-color: rgba(16, 185, 129, 0.1);
            color: var(--success);
        }
        
        /* 内容区域 - 无图片样式 */
        .resume-content {
            padding: 0 16px 16px;
        }
        
        .resume-description {
            font-size: 0.9rem;
            color: var(--text-primary);
            line-height: 1.5;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .resume-highlights {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }
        
        .highlight-item {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 0.85rem;
            color: var(--text-secondary);
        }
        
        .highlight-icon {
            color: var(--primary);
            font-size: 0.9rem;
        }
        
        /* 内容区域 - 多图片样式 */
        .resume-multi-image .resume-images {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 4px;
            margin: 0 16px 16px;
        }
        
        .resume-multi-image .resume-image {
            aspect-ratio: 1;
            position: relative;
            border-radius: var(--radius-sm);
            overflow: hidden;
        }
        
        .resume-multi-image .resume-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .resume-multi-image .resume-content {
            padding-top: 0;
        }
        
        /* 底部操作栏 */
        .resume-actions {
            display: flex;
            justify-content: space-between;
            padding: 12px 16px;
            border-top: 1px solid var(--border-light);
        }
        
        .action-buttons {
            display: flex;
            gap: 10px;
        }
        
        .resume-action {
            padding: 6px 14px;
            border-radius: 16px;
            font-size: 0.85rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s ease;
        }
        
        .primary-action {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        .secondary-action {
            background-color: var(--bg-gray);
            color: var(--text-secondary);
            border: none;
        }
        
        .resume-date {
            font-size: 0.8rem;
            color: var(--text-tertiary);
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        /* 筛选抽屉 */
        .filter-drawer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background-color: var(--bg-white);
            border-top-left-radius: var(--radius);
            border-top-right-radius: var(--radius);
            box-shadow: var(--shadow-strong);
            z-index: 1010;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            max-height: 80vh;
            overflow-y: auto;
        }
        
        .filter-drawer.open {
            transform: translateY(0);
        }
        
        .drawer-header {
            padding: 16px;
            border-bottom: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .drawer-title {
            font-size: 1.1rem;
            font-weight: 600;
        }
        
        .close-drawer {
            background: none;
            border: none;
            color: var(--text-secondary);
            font-size: 1.2rem;
        }
        
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1005;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }
        
        .overlay.show {
            opacity: 1;
            pointer-events: auto;
        }
        
        /* 筛选内容 */
        .filter-content {
            padding: 16px;
        }
        
        .filter-section {
            margin-bottom: 20px;
        }
        
        .filter-section-title {
            font-size: 0.95rem;
            font-weight: 600;
            margin-bottom: 12px;
            color: var(--text-primary);
        }
        
        .checkbox-filter {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .custom-checkbox {
            display: none;
        }
        
        .checkbox-label {
            display: inline-block;
            padding: 6px 14px;
            background-color: var(--bg-gray);
            border-radius: 16px;
            font-size: 0.85rem;
            color: var(--text-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .custom-checkbox:checked + .checkbox-label {
            background-color: var(--primary);
            color: white;
        }
        
        /* 筛选操作按钮 */
        .filter-actions {
            display: flex;
            gap: 12px;
            padding: 12px 16px;
            background-color: var(--bg-white);
            border-top: 1px solid var(--border-light);
        }
        
        .filter-btn {
            flex: 1;
            padding: 10px 0;
            border-radius: var(--radius-sm);
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.2s ease;
        }
        
        .reset-btn {
            background-color: var(--bg-gray);
            color: var(--text-secondary);
            border: none;
        }
        
        .apply-btn {
            background-color: var(--primary);
            color: white;
            border: none;
        }
        
        /* 已选筛选条件 */
        .selected-filters {
            padding: 8px 16px;
            background-color: var(--bg-white);
            border-bottom: 1px solid var(--border-light);
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            align-items: center;
        }
        
        .selected-filters-title {
            font-size: 0.85rem;
            color: var(--text-tertiary);
            white-space: nowrap;
        }
        
        .selected-filter-tag {
            background-color: rgba(59, 130, 246, 0.1);
            color: var(--primary);
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .remove-filter {
            background: none;
            border: none;
            color: var(--primary);
            font-size: 0.9rem;
            cursor: pointer;
        }
        
        .clear-all {
            font-size: 0.8rem;
            color: var(--text-secondary);
            background: none;
            border: none;
            margin-left: auto;
        }
        
        /* 加载更多 */
        .load-more {
            padding: 16px 0;
            text-align: center;
        }
        
        .load-more-btn {
            background-color: var(--bg-white);
            border: 1px solid var(--border-light);
            color: var(--text-secondary);
            padding: 8px 24px;
            border-radius: 20px;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 8px;
            margin: 0 auto;
        }
        
        /* 底部导航 */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background-color: var(--bg-white);
            display: flex;
            justify-content: space-around;
            align-items: center;
            border-top: 1px solid var(--border-light);
            z-index: 1000;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 0.7rem;
            gap: 4px;
            flex: 1;
            height: 100%;
            text-decoration: none;
        }
        
        .nav-item.active {
            color: var(--primary);
        }
        
        .nav-icon {
            font-size: 1.2rem;
        }
        
        /* 提示消息 */
        .toast {
            position: fixed;
            bottom: 80px;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 16px;
            border-radius: 4px;
            z-index: 9999;
            font-size: 0.85rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .toast.show {
            opacity: 1;
        }
    </style>
</head>
<body>
    <!-- 顶部导航 -->
    <div class="top-nav">
        <button class="nav-action" id="backBtn">
            <i class="fas fa-arrow-left"></i>
        </button>
        <div class="nav-title">人才推荐</div>
        <button class="nav-action primary" id="viewModeBtn">
            <i class="fas fa-th-list"></i>
        </button>
    </div>
    
    <!-- 搜索和筛选区 -->
    <div class="search-filter-bar">
        <div class="search-box">
            <i class="fas fa-search search-icon"></i>
            <input type="text" class="search-input" placeholder="搜索姓名、职位或技能...">
        </div>
        <button class="filter-btn" id="advancedFilterToggle">
            <i class="fas fa-filter"></i>
        </button>
    </div>
    
    <!-- 快捷筛选标签 -->
    <div class="quick-filters">
        <button class="filter-chip active">
            <span>全部人才</span>
        </button>
        <button class="filter-chip">
            <i class="fas fa-clock icon"></i>
            <span>最新发布</span>
        </button>
        <button class="filter-chip">
            <i class="fas fa-fire icon"></i>
            <span>热门人才</span>
        </button>
        <button class="filter-chip">
            <i class="fas fa-check-circle icon"></i>
            <span>已认证</span>
        </button>
        <button class="filter-chip">
            <i class="fas fa-briefcase icon"></i>
            <span>随时到岗</span>
        </button>
        <button class="filter-chip">
            <i class="fas fa-graduation-cap icon"></i>
            <span>应届生</span>
        </button>
    </div>
    
    <!-- 已选筛选条件 -->
    <div class="selected-filters">
        <span class="selected-filters-title">已选:</span>
        <div class="selected-filter-tag">
            <span>3-5年经验</span>
            <button class="remove-filter"><i class="fas fa-times"></i></button>
        </div>
        <div class="selected-filter-tag">
            <span>本科</span>
            <button class="remove-filter"><i class="fas fa-times"></i></button>
        </div>
        <div class="selected-filter-tag">
            <span>UI设计</span>
            <button class="remove-filter"><i class="fas fa-times"></i></button>
        </div>
        <button class="clear-all">清除全部</button>
    </div>
    
    <!-- 求职列表容器 -->
    <div class="resumes-container">
        <!-- 求职卡片 - 多图片样式 -->
        <div class="resume-card resume-multi-image">
            <div class="resume-header">
                <div class="user-avatar">
                    <img src="https://picsum.photos/id/64/200/200" alt="用户头像">
                </div>
                <div class="user-basic-info">
                    <div class="user-name">
                        张雨晴 
                        <span class="user-tag available">可立即到岗</span>
                    </div>
                    <div class="user-title">UI/UX设计师 · 3年经验</div>
                    <div class="user-tags">
                        <span class="user-tag">本科</span>
                        <span class="user-tag">北京</span>
                        <span class="user-tag">全职</span>
                    </div>
                </div>
            </div>
            
            <!-- 作品图片展示 -->
            <div class="resume-images">
                <div class="resume-image">
                    <img src="https://picsum.photos/id/20/300/300" alt="作品集图片1">
                </div>
                <div class="resume-image">
                    <img src="https://picsum.photos/id/26/300/300" alt="作品集图片2">
                </div>
                <div class="resume-image">
                    <img src="https://picsum.photos/id/42/300/300" alt="作品集图片3">
                </div>
            </div>
            
            <div class="resume-content">
                <div class="resume-description">
                    拥有3年UI/UX设计经验，擅长移动端界面设计和用户体验优化，熟练掌握Figma、Sketch等设计工具，曾主导多个电商APP的设计工作。
                </div>
                
                <div class="resume-highlights">
                    <div class="highlight-item">
                        <i class="fas fa-graduation-cap highlight-icon"></i>
                        <span>中央美术学院</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-building highlight-icon"></i>
                        <span>前 阿里巴巴</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-code highlight-icon"></i>
                        <span>会基础HTML/CSS</span>
                    </div>
                </div>
            </div>
            
            <div class="resume-actions">
                <div class="action-buttons">
                    <button class="resume-action primary-action">
                        <i class="fas fa-paper-plane"></i>
                        <span>联系</span>
                    </button>
                    <button class="resume-action secondary-action collect-btn">
                        <i class="far fa-bookmark"></i>
                        <span>收藏</span>
                    </button>
                </div>
                <div class="resume-date">
                    <i class="far fa-clock"></i>
                    <span>3天前更新</span>
                </div>
            </div>
        </div>
        
        <!-- 求职卡片 - 无图片样式 -->
        <div class="resume-card">
            <div class="resume-header">
                <div class="user-avatar">
                    <img src="https://picsum.photos/id/91/200/200" alt="用户头像">
                </div>
                <div class="user-basic-info">
                    <div class="user-name">
                        李明远 
                        <span class="user-tag hot">热门候选人</span>
                    </div>
                    <div class="user-title">前端开发工程师 · 5年经验</div>
                    <div class="user-tags">
                        <span class="user-tag">本科</span>
                        <span class="user-tag">上海</span>
                        <span class="user-tag">全职</span>
                    </div>
                </div>
            </div>
            
            <div class="resume-content">
                <div class="resume-description">
                    5年前端开发经验，精通JavaScript、React、Vue等技术栈，有大型电商平台开发经验，熟悉前端工程化和性能优化，能够独立负责前端架构设计。
                </div>
                
                <div class="resume-highlights">
                    <div class="highlight-item">
                        <i class="fas fa-graduation-cap highlight-icon"></i>
                        <span>上海交通大学</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-building highlight-icon"></i>
                        <span>前 腾讯</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-code highlight-icon"></i>
                        <span>React/Vue/Node</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-language highlight-icon"></i>
                        <span>英语六级</span>
                    </div>
                </div>
            </div>
            
            <div class="resume-actions">
                <div class="action-buttons">
                    <button class="resume-action primary-action">
                        <i class="fas fa-paper-plane"></i>
                        <span>联系</span>
                    </button>
                    <button class="resume-action secondary-action collect-btn">
                        <i class="far fa-bookmark"></i>
                        <span>收藏</span>
                    </button>
                </div>
                <div class="resume-date">
                    <i class="far fa-clock"></i>
                    <span>1周前更新</span>
                </div>
            </div>
        </div>
        
        <!-- 求职卡片 - 多图片样式 -->
        <div class="resume-card resume-multi-image">
            <div class="resume-header">
                <div class="user-avatar">
                    <img src="https://picsum.photos/id/22/200/200" alt="用户头像">
                </div>
                <div class="user-basic-info">
                    <div class="user-name">
                        王佳宁 
                        <span class="user-tag available">可立即到岗</span>
                    </div>
                    <div class="user-title">产品经理 · 4年经验</div>
                    <div class="user-tags">
                        <span class="user-tag">硕士</span>
                        <span class="user-tag">广州</span>
                        <span class="user-tag">全职</span>
                    </div>
                </div>
            </div>
            
            <!-- 作品图片展示 -->
            <div class="resume-images">
                <div class="resume-image">
                    <img src="https://picsum.photos/id/180/300/300" alt="产品图片1">
                </div>
                <div class="resume-image">
                    <img src="https://picsum.photos/id/160/300/300" alt="产品图片2">
                </div>
                <div class="resume-image">
                    <img src="https://picsum.photos/id/177/300/300" alt="产品图片3">
                </div>
            </div>
            
            <div class="resume-content">
                <div class="resume-description">
                    4年互联网产品经理经验，擅长用户需求分析和产品规划，有从0到1打造产品的经验，熟悉敏捷开发流程，曾负责过日活百万级产品的迭代优化。
                </div>
                
                <div class="resume-highlights">
                    <div class="highlight-item">
                        <i class="fas fa-graduation-cap highlight-icon"></i>
                        <span>中山大学</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-building highlight-icon"></i>
                        <span>前 字节跳动</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-chart-line highlight-icon"></i>
                        <span>数据分析</span>
                    </div>
                </div>
            </div>
            
            <div class="resume-actions">
                <div class="action-buttons">
                    <button class="resume-action primary-action">
                        <i class="fas fa-paper-plane"></i>
                        <span>联系</span>
                    </button>
                    <button class="resume-action secondary-action collect-btn">
                        <i class="far fa-bookmark"></i>
                        <span>收藏</span>
                    </button>
                </div>
                <div class="resume-date">
                    <i class="far fa-clock"></i>
                    <span>2天前更新</span>
                </div>
            </div>
        </div>
        
        <!-- 求职卡片 - 无图片样式 -->
        <div class="resume-card">
            <div class="resume-header">
                <div class="user-avatar">
                    <img src="https://picsum.photos/id/54/200/200" alt="用户头像">
                </div>
                <div class="user-basic-info">
                    <div class="user-name">
                        赵天成 
                    </div>
                    <div class="user-title">后端开发工程师 · 6年经验</div>
                    <div class="user-tags">
                        <span class="user-tag">本科</span>
                        <span class="user-tag">深圳</span>
                        <span class="user-tag">全职</span>
                    </div>
                </div>
            </div>
            
            <div class="resume-content">
                <div class="resume-description">
                    6年Java后端开发经验，精通Spring Cloud微服务架构，有大型分布式系统设计和开发经验，熟悉高并发、高可用系统设计，擅长性能优化和问题排查。
                </div>
                
                <div class="resume-highlights">
                    <div class="highlight-item">
                        <i class="fas fa-graduation-cap highlight-icon"></i>
                        <span>华南理工大学</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-building highlight-icon"></i>
                        <span>前 华为</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-code highlight-icon"></i>
                        <span>Java/微服务/分布式</span>
                    </div>
                    <div class="highlight-item">
                        <i class="fas fa-certificate highlight-icon"></i>
                        <span>架构师认证</span>
                    </div>
                </div>
            </div>
            
            <div class="resume-actions">
                <div class="action-buttons">
                    <button class="resume-action primary-action">
                        <i class="fas fa-paper-plane"></i>
                        <span>联系</span>
                    </button>
                    <button class="resume-action secondary-action collect-btn">
                        <i class="far fa-bookmark"></i>
                        <span>收藏</span>
                    </button>
                </div>
                <div class="resume-date">
                    <i class="far fa-clock"></i>
                    <span>5天前更新</span>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 加载更多 -->
    <div class="load-more">
        <button class="load-more-btn" id="loadMoreBtn">
            <i class="fas fa-spinner fa-spin" style="display: none;"></i>
            <span>加载更多人才</span>
        </button>
    </div>
    
    <!-- 底部导航 -->
    <div class="bottom-nav">
        <a href="#" class="nav-item">
            <i class="fas fa-home nav-icon"></i>
            <span>首页</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-compass nav-icon"></i>
            <span>发现</span>
        </a>
        <a href="#" class="nav-item active">
            <i class="fas fa-users nav-icon"></i>
            <span>人才</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-bell nav-icon"></i>
            <span>通知</span>
        </a>
        <a href="#" class="nav-item">
            <i class="fas fa-user nav-icon"></i>
            <span>我的</span>
        </a>
    </div>
    
    <!-- 筛选抽屉 -->
    <div class="overlay" id="filterOverlay"></div>
    <div class="filter-drawer" id="filterDrawer">
        <div class="drawer-header">
            <div class="drawer-title">筛选条件</div>
            <button class="close-drawer" id="closeDrawer">
                <i class="fas fa-times"></i>
            </button>
        </div>
        
        <div class="filter-content">
            <div class="filter-section">
                <div class="filter-section-title">工作经验</div>
                <div class="checkbox-filter">
                    <input type="checkbox" id="exp-fresh" class="custom-checkbox">
                    <label for="exp-fresh" class="checkbox-label">应届生</label>
                    
                    <input type="checkbox" id="exp-1" class="custom-checkbox">
                    <label for="exp-1" class="checkbox-label">1年以内</label>
                    
                    <input type="checkbox" id="exp-1-3" class="custom-checkbox">
                    <label for="exp-1-3" class="checkbox-label">1-3年</label>
                    
                    <input type="checkbox" id="exp-3-5" class="custom-checkbox" checked>
                    <label for="exp-3-5" class="checkbox-label">3-5年</label>
                    
                    <input type="checkbox" id="exp-5-10" class="custom-checkbox">
                    <label for="exp-5-10" class="checkbox-label">5-10年</label>
                    
                    <input type="checkbox" id="exp-10+" class="custom-checkbox">
                    <label for="exp-10+" class="checkbox-label">10年以上</label>
                </div>
            </div>
            
            <div class="filter-section">
                <div class="filter-section-title">学历要求</div>
                <div class="checkbox-filter">
                    <input type="checkbox" id="edu-highschool" class="custom-checkbox">
                    <label for="edu-highschool" class="checkbox-label">高中及以下</label>
                    
                    <input type="checkbox" id="edu-college" class="custom-checkbox">
                    <label for="edu-college" class="checkbox-label">大专</label>
                    
                    <input type="checkbox" id="edu-bachelor" class="custom-checkbox" checked>
                    <label for="edu-bachelor" class="checkbox-label">本科</label>
                    
                    <input type="checkbox" id="edu-master" class="custom-checkbox">
                    <label for="edu-master" class="checkbox-label">硕士</label>
                    
                    <input type="checkbox" id="edu-phd" class="custom-checkbox">
                    <label for="edu-phd" class="checkbox-label">博士</label>
                </div>
            </div>
            
            <div class="filter-section">
                <div class="filter-section-title">求职意向</div>
                <div class="checkbox-filter">
                    <input type="checkbox" id="job-fulltime" class="custom-checkbox" checked>
                    <label for="job-fulltime" class="checkbox-label">全职</label>
                    
                    <input type="checkbox" id="job-parttime" class="custom-checkbox">
                    <label for="job-parttime" class="checkbox-label">兼职</label>
                    
                    <input type="checkbox" id="job-intern" class="custom-checkbox">
                    <label for="job-intern" class="checkbox-label">实习</label>
                    
                    <input type="checkbox" id="job-remote" class="custom-checkbox">
                    <label for="job-remote" class="checkbox-label">远程</label>
                </div>
            </div>
            
            <div class="filter-section">
                <div class="filter-section-title">专业技能</div>
                <div class="checkbox-filter">
                    <input type="checkbox" id="skill-ui" class="custom-checkbox" checked>
                    <label for="skill-ui" class="checkbox-label">UI设计</label>
                    
                    <input type="checkbox" id="skill-frontend" class="custom-checkbox">
                    <label for="skill-frontend" class="checkbox-label">前端开发</label>
                    
                    <input type="checkbox" id="skill-backend" class="custom-checkbox">
                    <label for="skill-backend" class="checkbox-label">后端开发</label>
                    
                    <input type="checkbox" id="skill-product" class="custom-checkbox">
                    <label for="skill-product" class="checkbox-label">产品经理</label>
                    
                    <input type="checkbox" id="skill-test" class="custom-checkbox">
                    <label for="skill-test" class="checkbox-label">测试</label>
                    
                    <input type="checkbox" id="skill-operation" class="custom-checkbox">
                    <label for="skill-operation" class="checkbox-label">运营</label>
                </div>
            </div>
        </div>
        
        <!-- 筛选操作按钮 -->
        <div class="filter-actions">
            <button class="filter-btn reset-btn" id="resetFilters">重置</button>
            <button class="filter-btn apply-btn" id="applyFilters">应用筛选</button>
        </div>
    </div>
    
    <!-- 提示消息元素 -->
    <div class="toast" id="toast"></div>
    
    <!-- Bootstrap JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        // DOM元素
        const backBtn = document.getElementById('backBtn');
        const viewModeBtn = document.getElementById('viewModeBtn');
        const filterChips = document.querySelectorAll('.filter-chip');
        const advancedFilterToggle = document.getElementById('advancedFilterToggle');
        const filterDrawer = document.getElementById('filterDrawer');
        const filterOverlay = document.getElementById('filterOverlay');
        const closeDrawer = document.getElementById('closeDrawer');
        const removeFilterTags = document.querySelectorAll('.remove-filter');
        const clearAllFilters = document.querySelector('.clear-all');
        const loadMoreBtn = document.getElementById('loadMoreBtn');
        const collectButtons = document.querySelectorAll('.collect-btn');
        const resetFiltersBtn = document.getElementById('resetFilters');
        const applyFiltersBtn = document.getElementById('applyFilters');
        
        // 快捷筛选切换
        filterChips.forEach(chip => {
            chip.addEventListener('click', function() {
                filterChips.forEach(c => c.classList.remove('active'));
                this.classList.add('active');
                const filterText = this.querySelector('span').textContent;
                showToast(`已切换到${filterText}`);
            });
        });
        
        // 高级筛选抽屉控制
        advancedFilterToggle.addEventListener('click', function() {
            filterDrawer.classList.add('open');
            filterOverlay.classList.add('show');
        });
        
        closeDrawer.addEventListener('click', closeFilterDrawer);
        filterOverlay.addEventListener('click', closeFilterDrawer);
        
        function closeFilterDrawer() {
            filterDrawer.classList.remove('open');
            filterOverlay.classList.remove('show');
        }
        
        // 移除单个筛选条件
        removeFilterTags.forEach(tag => {
            tag.addEventListener('click', function() {
                const filterText = this.parentElement.querySelector('span').textContent;
                this.parentElement.remove();
                showToast(`已移除筛选: ${filterText}`);
                
                // 如果没有筛选条件了，隐藏标题
                if (document.querySelectorAll('.selected-filter-tag').length === 0) {
                    document.querySelector('.selected-filters-title').style.display = 'none';
                }
            });
        });
        
        // 清除所有筛选条件
        clearAllFilters.addEventListener('click', function() {
            const filterTags = document.querySelectorAll('.selected-filter-tag');
            if (filterTags.length > 0) {
                filterTags.forEach(tag => tag.remove());
                document.querySelector('.selected-filters-title').style.display = 'none';
                
                // 重置所有筛选状态
                filterChips.forEach(chip => {
                    if (chip.textContent.includes('全部')) {
                        chip.classList.add('active');
                    } else {
                        chip.classList.remove('active');
                    }
                });
                
                // 重置抽屉内的筛选条件
                document.querySelectorAll('.custom-checkbox').forEach(checkbox => {
                    checkbox.checked = false;
                });
                
                showToast('已清除所有筛选条件');
            }
        });
        
        // 重置筛选条件
        resetFiltersBtn.addEventListener('click', function() {
            document.querySelectorAll('.custom-checkbox').forEach(checkbox => {
                checkbox.checked = false;
            });
            showToast('已重置筛选条件');
        });
        
        // 应用筛选条件
        applyFiltersBtn.addEventListener('click', function() {
            // 收集选中的筛选条件
            const selectedFilters = [];
            document.querySelectorAll('.custom-checkbox:checked').forEach(checkbox => {
                selectedFilters.push(checkbox.nextElementSibling.textContent);
            });
            
            // 更新已选筛选标签
            const selectedFiltersContainer = document.querySelector('.selected-filters');
            // 清空现有标签（保留标题）
            document.querySelectorAll('.selected-filter-tag').forEach(tag => tag.remove());
            
            // 添加新标签
            if (selectedFilters.length > 0) {
                document.querySelector('.selected-filters-title').style.display = 'block';
                selectedFilters.forEach(filter => {
                    const tag = document.createElement('div');
                    tag.className = 'selected-filter-tag';
                    tag.innerHTML = `
                        <span>${filter}</span>
                        <button class="remove-filter"><i class="fas fa-times"></i></button>
                    `;
                    selectedFiltersContainer.insertBefore(tag, clearAllFilters);
                    
                    // 为新添加的标签绑定事件
                    tag.querySelector('.remove-filter').addEventListener('click', function() {
                        const filterText = this.parentElement.querySelector('span').textContent;
                        this.parentElement.remove();
                        showToast(`已移除筛选: ${filterText}`);
                        
                        if (document.querySelectorAll('.selected-filter-tag').length === 0) {
                            document.querySelector('.selected-filters-title').style.display = 'none';
                        }
                    });
                });
            } else {
                document.querySelector('.selected-filters-title').style.display = 'none';
            }
            
            closeFilterDrawer();
            showToast(`已应用 ${selectedFilters.length} 个筛选条件`);
        });
        
        // 加载更多
        loadMoreBtn.addEventListener('click', function() {
            const spinner = this.querySelector('.fa-spinner');
            const text = this.querySelector('span');
            const originalText = text.textContent;
            
            spinner.style.display = 'inline-block';
            text.textContent = '加载中...';
            this.disabled = true;
            
            setTimeout(() => {
                spinner.style.display = 'none';
                text.textContent = originalText;
                this.disabled = false;
                showToast('已加载更多人才信息');
            }, 1500);
        });
        
        // 收藏功能
        collectButtons.forEach(button => {
            button.addEventListener('click', function() {
                const icon = this.querySelector('i');
                const text = this.querySelector('span');
                
                if (icon.classList.contains('far')) {
                    icon.classList.remove('far');
                    icon.classList.add('fas');
                    text.textContent = '已收藏';
                    showToast('已收藏该人才');
                } else {
                    icon.classList.remove('fas');
                    icon.classList.add('far');
                    text.textContent = '收藏';
                    showToast('已取消收藏');
                }
            });
        });
        
        // 视图切换按钮
        viewModeBtn.addEventListener('click', function() {
            const icon = this.querySelector('i');
            if (icon.classList.contains('fa-th-list')) {
                icon.classList.remove('fa-th-list');
                icon.classList.add('fa-th-large');
                showToast('已切换到网格视图');
            } else {
                icon.classList.remove('fa-th-large');
                icon.classList.add('fa-th-list');
                showToast('已切换到列表视图');
            }
        });
        
        // 返回按钮
        backBtn.addEventListener('click', function() {
            history.back();
        });
        
        // 提示消息功能
        function showToast(message) {
            const toast = document.getElementById('toast');
            toast.textContent = message;
            toast.classList.add('show');
            
            setTimeout(() => {
                toast.classList.remove('show');
            }, 2000);
        }
    </script>
</body>
</html>

